package com.kuang.service.impl;

import com.kuang.pojo.UserInfo;
import com.kuang.mapper.UserInfoMapper;
import com.kuang.service.UserInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UserInfoServiceImpl extends ServiceImpl<UserInfoMapper, UserInfo> implements UserInfoService {

    @Autowired
    UserInfoService userInfoService;
    
    
    //根据用户id更新用户的信息，入参是User对象
    public void UpdateById(UserInfo user) {
        userInfoService.updateById(user);
    }
    
    

}
